<%@ page import="psychoproject.Security" %>



<div class="fieldcontain ${hasErrors(bean: securityInstance, field: 'userName', 'error')} required">
	<label for="userName">
		<g:message code="security.userName.label" default="User Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="userName" required="" value="${securityInstance?.userName}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: securityInstance, field: 'password', 'error')} required">
	<label for="password">
		<g:message code="security.password.label" default="Password" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="password" name="password" maxlength="20" required="" value="${securityInstance?.password}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: securityInstance, field: 'password2', 'error')} required">
	<label for="password2">
		<g:message code="security.password2.label" default="Password2" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="password" name="password2" required="" value="${securityInstance?.password2}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: securityInstance, field: 'securityLevel', 'error')} required">
	<label for="securityLevel">
		<g:message code="security.securityLevel.label" default="Security Level" />
		<span class="required-indicator">*</span>
	</label>
	<g:select name="securityLevel" from="${securityInstance.constraints.securityLevel.inList}" required="" value="${securityInstance?.securityLevel}" valueMessagePrefix="security.securityLevel"/>
</div>

